package com.pro.mapper;

import com.pro.pojo.JsAuditLog;
import com.pro.pojo.SyCourseRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SyCourseRecordMapper {
    //分别获取 待审核、已审核、审核通过的商品数量
    Integer getProductsCount(String result);
    //更改商品审核状态
    boolean updateProductRecordResult(SyCourseRecord syCourseRecord);
    //添加一条待审核信息
    boolean addProductRecord(SyCourseRecord examine);
    //添加一条微圈审核信息
    boolean addJsCourseRecord(SyCourseRecord param);
    //修改微圈状态
    boolean updatedetails(SyCourseRecord syCourseRecord);
    //查询待审核商品、课程、微圈
    Integer getToAuditsCount(SyCourseRecord syCourseRecord);
}
